import packageAxios from '../request';
const axios = packageAxios.instance;

const otherApi = {
    axiosAll (...args) {
        const axiosArray = [];
        args.forEach(config => {
            axiosArray.push(axios(config));
        });
        return packageAxios.axios.all(axiosArray);
    }
};

export default otherApi;
